package com.ruoyi.zyx.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.ZyxDevice;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成员基础信对象 zyx_member_device
 *
 * @author lhs
 * @date 2021-05-31
 */
public class ZyxMemberDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 成员id */
    @Excel(name = "成员id")
    private Long memberid;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceid;

    /** 删除标记 */
    private String delFlag;

    private SysDept sysDept;
    private ZyxDevice zyxDevice;
    private String  deptname;//医院名称
    private String officename;//科室名称
    private Long[] ids;//批量保存用
    private Long departid;//
    private String membername;//负责人名称
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMemberid(Long memberid)
    {
        this.memberid = memberid;
    }

    public Long getMemberid()
    {
        return memberid;
    }
    public void setDeviceid(Long deviceid)
    {
        this.deviceid = deviceid;
    }

    public Long getDeviceid()
    {
        return deviceid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberid", getMemberid())
            .append("deviceid", getDeviceid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public ZyxDevice getZyxDevice() {
        return zyxDevice;
    }

    public void setZyxDevice(ZyxDevice zyxDevice) {
        this.zyxDevice = zyxDevice;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public String getOfficename() {
        return officename;
    }

    public void setOfficename(String officename) {
        this.officename = officename;
    }


    public Long[] getIds() {
        return ids;
    }

    public void setIds(Long[] ids) {
        this.ids = ids;
    }

    public Long getDepartid() {
        return departid;
    }

    public void setDepartid(Long departid) {
        this.departid = departid;
    }

    public String getMembername() {
        return membername;
    }

    public void setMembername(String membername) {
        this.membername = membername;
    }
}
